pp108 : hide() - navigator

hide() - navigator


It hides the navigator object and its buttons based on the passed parameter

Syntax

Script

componentID.navigator.hide(sButtonID)


Parameters

Parameter

Description

sButtonID

String that denotes the name of the button available in the navigator. The following are the some of the values that can be passed as the parameter for this method:

  • control: Refers to the control buttons (Insert and Delete) from the navigator.
  • pagination: Refers to the pagination buttons (First, Next, Previous, Last and Find) from the navigator.
  • Find: Refers to the Find button alone from the pagination bar.
  • insert: Refers to the Insert button alone from the pagination bar.
  • delete: Refers to the Delete button alone from the pagination bar.
  • all: Refers to all the default buttons from the element bar.
  • show all: Refers to the Show All button, which retrieves all the records in the back end to the container.
  • refresh: Refers to the Refresh button which refreshes the view with the data in the model.


Remarks


If no value is passed as parameter then it is equivalent to passing theallparameter, which hides the navigator.

The method can be used in thecomponentID.navigator.hide("control");format.

Applies to


Tab Group, Table, Groupbox